package com.matchmealpha;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.LinearLayout;
import android.widget.TextView;

public class FriendView extends LinearLayout {
	private TextView strText;

	public FriendView(Context context, String str) {
		super(context);
		/* inflating layout */
		LayoutInflater inflater = (LayoutInflater) context
				.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		inflater.inflate(R.layout.friendslist_item_view, this, true);
		this.strText = (TextView) this.findViewById(R.id.FriendslistItemText);
		setString(str);
	}

	public void setString(String str) {
		this.strText.setText(str);
	}
}
